using System.Data.Entity.ModelConfiguration;
using System.ComponentModel.DataAnnotations;

namespace DemoApp.DataAccess 
{
  public partial class FavoriteDerivedEntityConfiguration 
    : EntityTypeConfiguration<FavoriteDerived>
  {
    public FavoriteDerivedEntityConfiguration()
    {
      HasEntitySetName(@"FavoritesDerived");
      Map(map => {
        map.ToTable(@"Favorites");
      });
 

      Property(e => e.DateOfCreation);
 
    }
  }
}
